<!DOCTYPE html>
<html>

<head>

  <meta charset="UTF-8">

  <title>我们的纪念</title>

    <style>
@import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700);
@import url(http://fonts.googleapis.com/css?family=Hammersmith+One);

body {
  background-color: #ccc;
  background-color: #FF83FA;
  background: url(img/bg.jpg) no-repeat top left;
  background-size: 100% 120%;
}
.container {
  width: 512px;
  height: 380px;
  margin: auto;
  margin-top: 0;
}

.heart {
  z-index: 1;
  width: 150px;
  height: 150px;
  position: absolute;
  top: 50%;
  margin-top: -75px;
  left: 50%;
  margin-left: -75px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-image:url("img/heart.png");
}
.hometown {
  font-family:'Inconsolata', sans-serif;
  font-weight: bold;
  font-size: 2.0em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  width: 512px;
  height: 512px;
  color: #FFF;
}
#top {
  width: 200px;
  margin: auto;
  position: relative;
}
#top span {
  height: 350px;
  position: absolute;
  width: 20px;
  left: 50%;
  margin-left: -10px;
  top: 110px;
}
.char1 {
	transform: rotate(-36deg);
}
.char2 {
	transform: rotate(-24deg);
}
.char3 {
	transform: rotate(-12deg);
}
.char4 {
	transform: rotate(0deg);
}
.char5 {
	transform: rotate(12deg);
}
.char6 {
	transform: rotate(24deg);
}
.char7 {
	transform: rotate(36deg);
}

#bottom span {
  height: 350px;
  line-height: 700px;
  position: absolute;
  width: 20px;
  left: 50%;
  margin-left: -10px;
  top: 10px;
}

#bottom .char1 {
	transform: rotate(36deg);
}
#bottom .char2 {
	transform: rotate(27deg);
}
#bottom .char3 {
	transform: rotate(18deg);
}
#bottom .char4 {
	transform: rotate(9deg);
}
#bottom .char5 {
	transform: rotate(0deg);
}
#bottom .char6 {
	transform: rotate(-9deg);
}
#bottom .char7 {
	transform: rotate(-18deg);
}
#bottom .char8 {
	transform: rotate(-27deg);
}
#bottom .char9 {
	transform: rotate(-36deg);
}

.city {
  font-family:"Hammersmith One";
  display: inline-block;
  width: 100%;
  height: 300px;
  padding-top: 45px;
  text-align: center;
  font-size: 3.0em;
  z-index: 100;
  position: absolute;
  top: 50%;
  margin-top: -110px;
}

.heart {
  animation: HEARTBEAT 2.5s infinite;
}
#top span {
  animation: BOUNCE 2.5s infinite;
}

.footer .ciwei{
	position: absolute;
	bottom: 0px;
	left: 41%;
}

@keyframes HEARTBEAT {
  0% {
    transform: scale(1);
  }
  5% {
    transform: scale(1.3);
  }
  10% {
    transform: scale(1.1);
  }
  15% {
    transform: scale(1.5);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes BOUNCE {
  0% {
    top: 110px;
  }
  10% {
    top: 80px;
  }
  15% {
    top: 85px;
  }
  20% {
    top: 70px;
  }
  75% {
    top: 110px;
  }
  100% {
    top: 110px;
  }
}

</style>

    <script src="js/prefixfree.min.js"></script>

</head>

<body>

  <div class="container bg">
  <div class="hometown">
    <div class="heart">
    </div>
    <div id="top">
        <span class="char1">
            M
        </span>
        <span class="char2">
            a
        </span>
        <span class="char3">
            d
        </span>
        <span class="char4">
            e
        </span>
        <span class="char5">
        </span>
        <span class="char6">
            i
        </span>
        <span class="char7">
            n
        </span>
    </div>
    <div class="city">five</div>
    <div id="bottom">
      <span class="char1">
          W
      </span>
      <span class="char2">
          i
      </span>
      <span class="char3">
          t
      </span>
      <span class="char4">
          h
      </span>
      <span class="char5">
      </span>
      <span class="char6">
          l
      </span>
      <span class="char7">
          o
      </span>
      <span class="char8">
          v
      </span>
      <span class="char9">
          e
      </span>
    </div>
  </div>
  <div class="footer">
  	<a href="wenzi.html"><img class="ciwei" src="images/ciwei.png" /></a> 	
  </div>
</div>
</body>
</html>